package test;

import java.math.BigDecimal;
import java.util.Calendar;
import java.util.Date;

public class MiroService {
	public static void main(String[] args) throws Exception {
		try{
			Calendar cal = Calendar.getInstance();
			cal.set(Calendar.YEAR, 2013);
			cal.set(Calendar.MONTH, 6);
			cal.set(Calendar.DAY_OF_MONTH, 27);
			Date date = (Date) cal.getTime();
			BigDecimal currencyValue = NextCurrClass.getCurrencyValue(date, "eur");
			
		}
		
		catch(Exception ex){
			System.out.println("Wystapil problem!");
		}

	}
}
